package com.example.client;

import com.example.domain.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("informationservice")
public interface InformationClient {
    @PostMapping("/infor/addInformation")
    void addInformation(@RequestBody Users user);
}
